environments:
- name: jigsaw
  config:
    plugins:
      extractors:
      - name: tap-slack-public
        config:
          start_date: '2022-09-01'
      loaders:
      - name: target-snowflake
        config:
          dbname: JIGSAW_LABS_RAW
          user: ${USER_PREFIX}
          role: jigsaw_labs_developer
          warehouse: CORE
          default_target_schema: ${MELTANO_EXTRACT__LOAD_SCHEMA}
      utilities:
      - name: dbt-snowflake
        config:
          user: ${USER_PREFIX}
          role: jigsaw_labs_developer
          warehouse: CORE
          database: JIGSAW_LABS_PROD
          database_prep: JIGSAW_LABS_PREP
          database_raw: JIGSAW_LABS_RAW
          source_schema_prefix: JIGSAW_LABS_
          target_schema_prefix: JIGSAW_LABS_
      - name: sqlfluff
        config:
          user: ${USER_PREFIX}
      - name: great_expectations
        config:
          prod_database: JIGSAW_LABS_PROD
          raw_database: JIGSAW_LABS_RAW
          username: ${USER_PREFIX}
          role: ${USER_PREFIX}
          warehouse: CORE
  env:
    USER_PREFIX: wbanks
    HUB_METRICS_S3_PATH: s3://devtest-meltano-bucket-01/hub_metrics/
    SUPERSET_API_URL: http://localhost:8088
    SUPERSET_USER: admin
    SUPERSET_PASS: admin
    # https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html
    AIRFLOW__CORE__PLUGINS_FOLDER: $MELTANO_PROJECT_ROOT/orchestrate/plugins_local
    AIRFLOW__SCHEDULER__DAG_DIR_LIST_INTERVAL: '30'
    AIRFLOW_VAR_MELTANO_ENVIRONMENT: userdev
    AIRFLOW_VAR_OPERATOR_TYPE: bash
